package com.okq.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * 描述 : 同一产品类型下不同产品批次数量
 * 作者 : zdl
 * 日期 : 2017/6/29 17:44
 */
@Entity
@Table(name = "v_product_batch_number")
public class ProductBatchNumber implements Serializable {
    private static final long serialVersionUID = -5645209478765791714L;

    /**
     * 生产Id
     */
    @Id
    @Column(name = "productionId")
    private String productionId;
    /**
     * 生产批次
     */
    @Column(name = "batch")
    private String batch;
    /**
     * 产品类型
     */
    @Column(name = "productType")
    private Integer productType;
    /**
     * 入库时间
     */
    @Column(name = "storageTime")
    private String storageTime;
    /**
     * 数量
     */
    @Column(name = "number")
    private String number;

    public String getProductionId() {
        return productionId;
    }

    public void setProductionId(String productionId) {
        this.productionId = productionId;
    }

    public String getBatch() {
        return batch;
    }

    public void setBatch(String batch) {
        this.batch = batch;
    }

    public Integer getProductType() {
        return productType;
    }

    public void setProductType(Integer productType) {
        this.productType = productType;
    }

    public String getStorageTime() {
        return storageTime;
    }

    public void setStorageTime(String storageTime) {
        this.storageTime = storageTime;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }
}
